//
//  BaseViewController.h
//  TaurusXi
//
//  Created by xicheng on 15/11/27.
//  Copyright © 2015年 xicheng. All rights reserved.
//

#import <UIKit/UIKit.h>
@class MBProgressHUD;
@interface BaseViewController : UIViewController

@property (nonatomic,assign) CGRect deviceFrame;
@property (nonatomic,assign) CGFloat deviceWidth;
@property (nonatomic,assign) CGFloat deviceHeight;

//@property (nonatomic,strong) UINavigationController *parentUINavigationController;
@property (nonatomic,strong) UIView *customNavigationBar;

@property (nonatomic, strong) UIButton *leftBarButton;
@property (nonatomic, strong) UIButton *rightBarButton;
@property (nonatomic, strong) UILabel *titleLabel;


- (MBProgressHUD*)showPop:(NSString*)title;

-(void) setTitleText:(NSString *)text;

- (void)showSimplePro;

- (void)hideSimpleProWithDelay:(NSTimeInterval)delay;

- (void)leftBarButtonAction:(id)sender;

- (void)showSimpleProWithDim;

@end
